package com.xy.biz.xd.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Greekn Zhang
 * @date 2021/5/25 11:07
 * @description
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class GetDocumentFlowExistRequest {

    /**
     * 文档编号
     */
    @NotBlank
    private String documentCode;

    /**
     * 流程类型（2：修订，3：作废）
     */
    @NotNull
    private Integer flowType;
}
